package com.example.article.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author admin
 * @version 1.0.0
 * @time 2021/3/19 11:02
 * @desc 首页
 */
@Controller
@RequestMapping("/index")
public class IndexController {


    @RequestMapping("/index")
    public ModelAndView index(){
        ModelAndView modelAndView = new ModelAndView("index.html");

        return modelAndView;
    }


}
